//
//  CellOfSearchForCollection.m
//  PetAPP
//
//  Created by apple on 16/3/1.
//  Copyright © 2016年 Yuming. All rights reserved.
//

#import "CellOfSearchForCollection.h"

@interface CellOfSearchForCollection ()

@end

@implementation CellOfSearchForCollection

- (instancetype)initWithFrame:(CGRect)frame {

    self = [super initWithFrame:frame];
    if (self) {
        self.labelOfContent = [[UILabel alloc] init];
        [self.contentView addSubview:_labelOfContent];
        [_labelOfContent release];
    }
    return self;
}

- (void)HandleDataWithText:(NSString *)text AndWidth:(CGFloat)width {

    self.labelOfContent.text = text;
    self.labelOfContent.frame = CGRectMake(10, 7.5, width, 20);


}

@end
